package com.tencent.txcc.service;

import com.baomidou.mybatisplus.service.IService;
import com.tencent.txcc.domain.CourseOrder;
import com.tencent.txcc.dto.CourseOrderDto;
import com.tencent.txcc.dto.KillCourseOrderDto;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author director
 * @since 2022-10-16
 */
public interface ICourseOrderService extends IService<CourseOrder> {

    String placeOrder(CourseOrderDto courseOrderDto);

    CourseOrder selectByOrderNo(String orderNo);

    void addCourseOrderAndCourseOrderItem(CourseOrder courseOrder);

    String killPlaceOrder(KillCourseOrderDto killCourseOrderDto);

}
